package com.mergeades.chp04;

public class DaemonTest {

    public static void main(String[] args) {
        Thread t = new Thread(()->{
            try {
                Thread.sleep(10);
            } catch (InterruptedException e) {
                e.printStackTrace();
            }finally {
                System.out.println("In finally Block");
            }
        });

        t.setDaemon(true);
        t.start();
    }
}
